package com.hfi.ood.mailsendproduct.good;

import java.util.List;

/**
 * @author ChangLiang
 * @date 2020/5/12
 */
public class User {

    private String name;
    private String emailAddress;

    /**
     * 用户订阅的产品
     */
    private List<Product> subscribedProducts;

    public String getName(){
        return name;
    }
    public String getEMailAddress() {
        return emailAddress;
    }
    public List<Product> getSubscribedProducts(){
        return this.subscribedProducts;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setEmailAddress(String emailAddress) {
        this.emailAddress = emailAddress;
    }

    public void setSubscribedProducts(List<Product> subscribedProducts) {
        this.subscribedProducts = subscribedProducts;
    }
}
